package com.yykj.user.center.server.form;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author chenl
 * @version 1.0
 * @date 2021/11/3 22:46
 */
@Data
public class AppointmentForm {

    @NotBlank(message = "请传入预约日期")
    @ApiModelProperty("预约日期 yyyy-MM-dd")
    private String date;

    @NotBlank(message = "请传入上午还是下午")
    @ApiModelProperty("上午还是下午")
    private String morningOrAfternoon;

    @NotBlank(message = "请传入就诊卡ID")
    @ApiModelProperty("就诊卡Id")
    private String patientCardId;

    @NotNull(message = "请传入医院科室ID")
    @ApiModelProperty("医院科室ID")
    private Integer deptId;

    @NotBlank(message = "请传入医院科室名称")
    @ApiModelProperty("医院科室名称")
    private String deptName;

    @NotNull(message = "请传入医院ID")
    @ApiModelProperty("医院ID")
    private Integer hospitalId;

    @NotBlank(message = "请传入医院名称")
    @ApiModelProperty("医院名称")
    private String hospitalName;

    @NotBlank(message = "请传入开始时间")
    @ApiModelProperty("开始时间")
    private String startDatetime;

    @NotBlank(message = "请传入结束时间")
    @ApiModelProperty("结束时间")
    private String endDatetime;

    /*@NotBlank(message = "请症状描述")
    @ApiModelProperty("症状描述")
    private String description;*/

    @NotBlank(message = "请传入医生Id")
    @ApiModelProperty("医生Id")
    private String doctorId;

    @NotBlank(message = "请传入医生姓名")
    @ApiModelProperty("医生姓名")
    private String doctorName;

    @ApiModelProperty("就诊科室")
    @NotBlank(message = "请传入就诊科室")
    private String seeDeptName;

    @ApiModelProperty("所选择的时间段ID")
    @NotNull(message = "请传入时间段ID")
    private Integer appointId;

    @ApiModelProperty("患者姓名")
    @NotBlank(message = "请传入患者姓名")
    private String patientName;

    @ApiModelProperty("普通号或者专家号")
    @NotBlank(message = "请传入普通号或者专家号")
    private String normalOrExpert;


}
